import request from "@/utils/request";

/**
 * @description: 全局封装调用构造函数Code
 * @param {type}
 * @method:
 * @return:
 * @author: Coder
 */

export default function Code({ url, params, data, method = "GET" }) {
  return request({
    url,
    params,
    data,
    method
  });
}
